from langdev_helper.llm.lcex import llm_lcex as llm

from tpl import setting_prompt, character_prompt, plot_prompt


from langchain_core.output_parsers import StrOutputParser


chain = setting_prompt | llm | StrOutputParser()

resp = chain.invoke({"genre": "修仙", "theme": "修仙之路的艰难与凡人身份的矛盾"})
print(resp)


